home *** CD-ROM | disk | FTP | other *** search
/ Clickx 35 / Clickx 35.iso / assets / software / EC Architect / Acrobat / Data1.cab / PictureTasks.api / SCRIPT / SLIDESHOW_BEGIN next >
Encoding:
Extensible Markup Language  |  2003-11-03  |  6.1 KB  |  105 lines

  1. <?xml version="1.0" standalone="no"?>
  2. <!DOCTYPE svg>
  3. <?AdobeSVGViewer version="4.0"?>
  4. <svg viewBox="0.000 0.000 1024.000 768.000)" preserveAspectRatio="xMidYMid meet" overflow="visible" zoomAndPan="magnify" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:t="http://www.adobe.com/jupiter/template" xmlns:a="http://ns.adobe.com/AdobeSVGViewerExtensions/4.0/" xmlns="http://www.w3.org/2000/svg" xmlns:x="http://ns.adobe.com/Extensibility/1.0/" xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/" a:timelineModel="Adobe" a:creator="PSA1.0"><rect x="-100%" y="-100%" width="300%" height="300%" fill="black" stroke="none" text-rendering="optimizeSpeed" shape-rendering="optimizeSpeed"/>
  5.     
  6.     <!-- ADOBE SYSTEMS INCORPORATED Copyright 2002. Adobe Systems Incorporated All Rights Reserved.                     -->
  7.     <!-- NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe   -->
  8.     <!-- license agreement accompanying it. If you have received this file from a source other                          -->
  9.     <!-- than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe. -->
  10.  
  11.  
  12.     <!--Generator: TemplateBuilder v. N/A, Database v. N/A, Date generated: Thu Oct 31 08:47:29 2002-->
  13.  
  14.     <!-- 
  15.         ****************************************************************************************************************************
  16.         **** WARNING! This file was machine-generated.  Do not edit by hand!  (And keep your hands off those matress tags, too!) ***
  17.         ****************************************************************************************************************************
  18.     --> 
  19.  
  20.     <!--
  21.         This is a dynammic template created for the Jupiter project.  It is 1024px wide and 768px high.  The mold has no margin at all, though the effect of "xMidYMid meet" often means that 
  22.         that there is some margin after all.  In orer for the mold to be dynamic, there are 2 matrices that have to be set, one for the image and keyline, the other for
  23.         the caption.  Normally (aleways?) the caption is left wehre it is, bottom-aligned to the screen
  24.  
  25.             The image matrix are calculated as:
  26.                 - find the bbox of the mold (on this case, 100% of page size)
  27.                 - find the center of that bbox, this is tx, ty values for the matrix.  Find the aspect ratio (h/w) of the image, 
  28.                     - if it lesss than one, then the width of the bbox is sx and sy=bbox_height* aspect_ratio
  29.                     - else if it more than one, then the height of the bbox is sy and sx=bbox_width/aspect_ratio
  30.  
  31.             The caption matrix is calculated as:
  32.                 - get the image's outline's bounding box and center point (as x and y in the info-rect) 
  33.                 - add half the height of the image's bbox to the center point y-value 
  34.                 - Get the bounding box of text-region,  only the height is important. 
  35.                 - Add the half the height of the the text-regions bbox 
  36.                 - Add some spacing, e.g. 12 points so there is a gap between the text-region and the bbox of the image 
  37.                 - Set the resulting value as the ty value in the matrix.  Note that the matrix is on the parent of the path-region.  
  38.                 - if this results in he caption being off the screen, simply bottom-align the caption.
  39.  
  40.     -->
  41.     <metadata>
  42.         <template templateID="corp.adobe.com.templates.dynamic.black.slideshow" templateType="slideshow" companyID="com.adobe" version="1" sharing="public" xmlns="http://www.adobe.com/jupiter/template" xmlns:s="http://www.w3.org/2000/svg">
  43.             <masterPages>
  44.                 <masterPage pageUsage="title" numbering="resetAfter" docRef="id('MPT_MasterPage')">
  45.                     <namedAreaText name="title" ref="title"/>
  46.                     <mold id="MPT_mold_A" moldRef="mold_1" outlineRef="outline_1" imageRef="image_1"/>
  47.                 </masterPage>
  48.                 <masterPage pageUsage="multiple" docRef="id('MP1_MasterPage')">
  49.                     <mold id="MP1_mold_A" moldRef="mold_1" captionRef="caption_1" outlineRef="outline_1" imageRef="image_1"/>
  50.                 </masterPage>
  51.                 <masterPage pageUsage="multiple" docRef="id('MP2_MasterPage')">
  52.                     <mold id="MP2_mold_A" moldRef="mold_1" captionRef="caption_1" outlineRef="outline_1" imageRef="image_1"/>
  53.                     <mold id="MP2_mold_B" moldRef="mold_2" captionRef="caption_2" outlineRef="outline_2" imageRef="image_2"/>
  54.                 </masterPage>
  55.                 <masterPage pageUsage="multiple" docRef="id('MP3_MasterPage')">
  56.                     <mold id="MP3_mold_A" moldRef="mold_1" captionRef="caption_1" outlineRef="outline_1" imageRef="image_1"/>
  57.                     <mold id="MP3_mold_B" moldRef="mold_2" captionRef="caption_2" outlineRef="outline_2" imageRef="image_2"/>
  58.                     <mold id="MP3_mold_C" moldRef="mold_3" captionRef="caption_3" outlineRef="outline_3" imageRef="image_3"/>
  59.                 </masterPage>
  60.             </masterPages>
  61.             <allowableOutput>
  62.                 <value>all</value>
  63.             </allowableOutput>
  64.             <switch>
  65.                 <category systemLanguage="en">
  66.                     <value>Slideshow</value>
  67.                     <value>Full Photo</value>
  68.                     <value>Black</value>
  69.                 </category>
  70.             </switch>
  71.             <switch>
  72.                 <templateName systemLanguage="en">Black</templateName>
  73.             </switch>
  74.             <switch>
  75.                 <templateDescription systemLanguage="en" infoLink="www.adobe.com">This simple template is great for non-standard sized photos such as panoramic or skyscraper dimensions.  It is also useful for viewing photos in full screen view.</templateDescription>
  76.             </switch>
  77.             <layout>
  78.                 <param name="sheetHeight" value="768pt"/>
  79.                 <param name="sheetWidth" value="1024pt"/>
  80.                 <svg2pdf>
  81.                     <param name="pageHeight" value="768pt"/>
  82.                     <param name="pageWidth" value="1024pt"/>
  83.                     <param name="resolution" value="72"/>
  84.                     <param name="rasterResolution" value="150"/>
  85.                     <param name="backgroundColor" value="000000"/>
  86.                 </svg2pdf>
  87.                 <surface>
  88.                     <pageSetup>
  89.                         <param name="leftMargin" value="0pt"/>
  90.                         <param name="rightMargin" value="0pt"/>
  91.                         <param name="topMargin" value="0pt"/>
  92.                         <param name="bottomMargin" value="0pt"/>
  93.                         <param name="honorMargins" value="scaleToFit"/>
  94.                     </pageSetup>
  95.                     <placedObject>
  96.                         <param name="transform" value="matrix(1 0 0 1 0 0)"/>
  97.                         <param name="N" value="0"/>
  98.                     </placedObject>
  99.                 </surface>
  100.             </layout>
  101.             <thumbnail xlink:href="#Thumbnail" publish="discard"/>
  102.         </template>
  103.     </metadata>
  104.     <defs>
  105.